package org.example.struct.array;

/**
 * @author liyishan
 * @date 2024/3/23 09:21
 * @apiNote
 */

public class Test02549DistinctIntegers {

    public int distinctIntegers(int n) {
        return n == 1 ? 1 : n - 1;
    }

}
